3.504 \(\int \frac{x^8}{\left (a^2+2 a b x^2+b^2 x^4\right )^2} \, dx\)

Optimal. Leaf size=93 \[ -\frac{35 \sqrt{a} \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{16 b^{9/2}}-\frac{35 x^3}{48 b^3 \left (a+b x^2\right )}-\frac{7 x^5}{24 b^2 \left (a+b x^2\right )^2}-\frac{x^7}{6 b \left (a+b x^2\right )^3}+\frac{35 x}{16 b^4} \]

[Out]

(35*x)/(16*b^4) - x^7/(6*b*(a + b*x^2)^3) - (7*x^5)/(24*b^2*(a + b*x^2)^2) - (35
*x^3)/(48*b^3*(a + b*x^2)) - (35*Sqrt[a]*ArcTan[(Sqrt[b]*x)/Sqrt[a]])/(16*b^(9/2
))

_______________________________________________________________________________________

Rubi [A]  time = 0.135049, antiderivative size = 93, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167 \[ -\frac{35 \sqrt{a} \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{16 b^{9/2}}-\frac{35 x^3}{48 b^3 \left (a+b x^2\right )}-\frac{7 x^5}{24 b^2 \left (a+b x^2\right )^2}-\frac{x^7}{6 b \left (a+b x^2\right )^3}+\frac{35 x}{16 b^4} \]

Antiderivative was successfully verified.

[In]  Int[x^8/(a^2 + 2*a*b*x^2 + b^2*x^4)^2,x]

[Out]

(35*x)/(16*b^4) - x^7/(6*b*(a + b*x^2)^3) - (7*x^5)/(24*b^2*(a + b*x^2)^2) - (35
*x^3)/(48*b^3*(a + b*x^2)) - (35*Sqrt[a]*ArcTan[(Sqrt[b]*x)/Sqrt[a]])/(16*b^(9/2
))

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 30.9374, size = 85, normalized size = 0.91 \[ - \frac{35 \sqrt{a} \operatorname{atan}{\left (\frac{\sqrt{b} x}{\sqrt{a}} \right )}}{16 b^{\frac{9}{2}}} - \frac{x^{7}}{6 b \left (a + b x^{2}\right )^{3}} - \frac{7 x^{5}}{24 b^{2} \left (a + b x^{2}\right )^{2}} - \frac{35 x^{3}}{48 b^{3} \left (a + b x^{2}\right )} + \frac{35 x}{16 b^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**8/(b**2*x**4+2*a*b*x**2+a**2)**2,x)

[Out]

-35*sqrt(a)*atan(sqrt(b)*x/sqrt(a))/(16*b**(9/2)) - x**7/(6*b*(a + b*x**2)**3) -
 7*x**5/(24*b**2*(a + b*x**2)**2) - 35*x**3/(48*b**3*(a + b*x**2)) + 35*x/(16*b*
*4)

_______________________________________________________________________________________

Mathematica [A]  time = 0.0830746, size = 77, normalized size = 0.83 \[ \frac{105 a^3 x+280 a^2 b x^3+231 a b^2 x^5+48 b^3 x^7}{48 b^4 \left (a+b x^2\right )^3}-\frac{35 \sqrt{a} \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{16 b^{9/2}} \]

Antiderivative was successfully verified.

[In]  Integrate[x^8/(a^2 + 2*a*b*x^2 + b^2*x^4)^2,x]

[Out]

(105*a^3*x + 280*a^2*b*x^3 + 231*a*b^2*x^5 + 48*b^3*x^7)/(48*b^4*(a + b*x^2)^3)
- (35*Sqrt[a]*ArcTan[(Sqrt[b]*x)/Sqrt[a]])/(16*b^(9/2))

_______________________________________________________________________________________

Maple [A]  time = 0.014, size = 83, normalized size = 0.9 \[{\frac{x}{{b}^{4}}}+{\frac{29\,a{x}^{5}}{16\,{b}^{2} \left ( b{x}^{2}+a \right ) ^{3}}}+{\frac{17\,{a}^{2}{x}^{3}}{6\,{b}^{3} \left ( b{x}^{2}+a \right ) ^{3}}}+{\frac{19\,{a}^{3}x}{16\,{b}^{4} \left ( b{x}^{2}+a \right ) ^{3}}}-{\frac{35\,a}{16\,{b}^{4}}\arctan \left ({bx{\frac{1}{\sqrt{ab}}}} \right ){\frac{1}{\sqrt{ab}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^8/(b^2*x^4+2*a*b*x^2+a^2)^2,x)

[Out]

x/b^4+29/16/b^2*a/(b*x^2+a)^3*x^5+17/6/b^3*a^2/(b*x^2+a)^3*x^3+19/16/b^4*a^3/(b*
x^2+a)^3*x-35/16/b^4*a/(a*b)^(1/2)*arctan(x*b/(a*b)^(1/2))

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^8/(b^2*x^4 + 2*a*b*x^2 + a^2)^2,x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [A]  time = 0.2787, size = 1, normalized size = 0.01 \[ \left [\frac{96 \, b^{3} x^{7} + 462 \, a b^{2} x^{5} + 560 \, a^{2} b x^{3} + 210 \, a^{3} x + 105 \,{\left (b^{3} x^{6} + 3 \, a b^{2} x^{4} + 3 \, a^{2} b x^{2} + a^{3}\right )} \sqrt{-\frac{a}{b}} \log \left (\frac{b x^{2} - 2 \, b x \sqrt{-\frac{a}{b}} - a}{b x^{2} + a}\right )}{96 \,{\left (b^{7} x^{6} + 3 \, a b^{6} x^{4} + 3 \, a^{2} b^{5} x^{2} + a^{3} b^{4}\right )}}, \frac{48 \, b^{3} x^{7} + 231 \, a b^{2} x^{5} + 280 \, a^{2} b x^{3} + 105 \, a^{3} x - 105 \,{\left (b^{3} x^{6} + 3 \, a b^{2} x^{4} + 3 \, a^{2} b x^{2} + a^{3}\right )} \sqrt{\frac{a}{b}} \arctan \left (\frac{x}{\sqrt{\frac{a}{b}}}\right )}{48 \,{\left (b^{7} x^{6} + 3 \, a b^{6} x^{4} + 3 \, a^{2} b^{5} x^{2} + a^{3} b^{4}\right )}}\right ] \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^8/(b^2*x^4 + 2*a*b*x^2 + a^2)^2,x, algorithm="fricas")

[Out]

[1/96*(96*b^3*x^7 + 462*a*b^2*x^5 + 560*a^2*b*x^3 + 210*a^3*x + 105*(b^3*x^6 + 3
*a*b^2*x^4 + 3*a^2*b*x^2 + a^3)*sqrt(-a/b)*log((b*x^2 - 2*b*x*sqrt(-a/b) - a)/(b
*x^2 + a)))/(b^7*x^6 + 3*a*b^6*x^4 + 3*a^2*b^5*x^2 + a^3*b^4), 1/48*(48*b^3*x^7
+ 231*a*b^2*x^5 + 280*a^2*b*x^3 + 105*a^3*x - 105*(b^3*x^6 + 3*a*b^2*x^4 + 3*a^2
*b*x^2 + a^3)*sqrt(a/b)*arctan(x/sqrt(a/b)))/(b^7*x^6 + 3*a*b^6*x^4 + 3*a^2*b^5*
x^2 + a^3*b^4)]

_______________________________________________________________________________________

Sympy [A]  time = 2.62311, size = 131, normalized size = 1.41 \[ \frac{35 \sqrt{- \frac{a}{b^{9}}} \log{\left (- b^{4} \sqrt{- \frac{a}{b^{9}}} + x \right )}}{32} - \frac{35 \sqrt{- \frac{a}{b^{9}}} \log{\left (b^{4} \sqrt{- \frac{a}{b^{9}}} + x \right )}}{32} + \frac{57 a^{3} x + 136 a^{2} b x^{3} + 87 a b^{2} x^{5}}{48 a^{3} b^{4} + 144 a^{2} b^{5} x^{2} + 144 a b^{6} x^{4} + 48 b^{7} x^{6}} + \frac{x}{b^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**8/(b**2*x**4+2*a*b*x**2+a**2)**2,x)

[Out]

35*sqrt(-a/b**9)*log(-b**4*sqrt(-a/b**9) + x)/32 - 35*sqrt(-a/b**9)*log(b**4*sqr
t(-a/b**9) + x)/32 + (57*a**3*x + 136*a**2*b*x**3 + 87*a*b**2*x**5)/(48*a**3*b**
4 + 144*a**2*b**5*x**2 + 144*a*b**6*x**4 + 48*b**7*x**6) + x/b**4

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.269393, size = 88, normalized size = 0.95 \[ -\frac{35 \, a \arctan \left (\frac{b x}{\sqrt{a b}}\right )}{16 \, \sqrt{a b} b^{4}} + \frac{x}{b^{4}} + \frac{87 \, a b^{2} x^{5} + 136 \, a^{2} b x^{3} + 57 \, a^{3} x}{48 \,{\left (b x^{2} + a\right )}^{3} b^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^8/(b^2*x^4 + 2*a*b*x^2 + a^2)^2,x, algorithm="giac")

[Out]

-35/16*a*arctan(b*x/sqrt(a*b))/(sqrt(a*b)*b^4) + x/b^4 + 1/48*(87*a*b^2*x^5 + 13
6*a^2*b*x^3 + 57*a^3*x)/((b*x^2 + a)^3*b^4)